/*
 * @desc:
 * @LastEditTime: 2022-10-27 09:44:42
 * @params:
 * @return::
 */
import { defineStore } from 'pinia'
import piniaPersistConfig from '../../config/piniaPersist'
import { Names } from '../store-namespace'
import { contentState } from '../interface'

export const useContentStore = defineStore({
  id: Names.IndexContent,
  state: (): contentState => ({
    list: [],
  }),
  // persist: piniaPersistConfig(Names.IndexContent),
  persist: true,
})
